<template>
  <el-popover trigger="hover" placement="top">
    <p>需开票: {{ row[$attrs.colNameInvoice] }}</p>
    <p>不需开票: {{ row[$attrs.colNameNoinvoice] }}</p>
    <div slot="reference" class="name-wrapper">
      <el-tag size="medium">{{ row[$attrs.colNameAll] }}</el-tag>
    </div>
  </el-popover>
</template>
<script type="text/javascript">
  define(['vue'],function(vue){
    //注意下面不能使用label
    return vue.component('tip-caiwu-money',{
      props:['row','index'],
      template:template,
      data : function() {
        return {
         
        };
      },
      methods:{
      },
      mounted:function() {
      },    
    });
  });
</script>

<style>
</style>